package car;

public class Taxi extends Auto {
    private String company;

    public Taxi(String model, String licensePlate, String company) {
        super(model, licensePlate);
        this.company = company;
    }

    public void start() {
        System.out.println("您现在驾驶的是"+company+"的车牌号为"+licensePlate+"的"+model);
    }

    public void stop() {
        System.out.println("赵云的车牌号为"+licensePlate+"的"+model+"行驶完毕");
    }
}
